Skip to content

Conversation

@helen229
Copy link
Member

@helen229 helen229 commented Oct 20, 2025

Closes #12242

corresponding PR for API view side changes:
#12398

Same as #12323, this pr could not merge due to build issue, creating a new branch to resolve the issue.

This PR updates the API review submission scripts to include package type information in API review requests. The changes enable the scripts to pass the SdkType property from package metadata through to the APIView service.

Key Changes:

Added $packageType parameter to API review submission functions
Extracted package type from packageInfo.SdkType metadata
Updated function calls to pass package type through the request chain

@helen229 helen229 requested a review from a team as a code owner October 20, 2025 17:38
Copilot AI review requested due to automatic review settings October 20, 2025 17:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the API review submission scripts to include package type information in API review requests. The changes enable the scripts to pass the SdkType property from package metadata through to the APIView service.

Key Changes:

  • Added $packageType parameter to API review submission functions
  • Extracted package type from packageInfo.SdkType metadata
  • Updated function calls to pass package type through the request chain

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
eng/common/scripts/Detect-Api-Changes.ps1 Adds packageType parameter to Submit-Request function and passes it from packageInfo.SdkType
eng/common/scripts/Create-APIReview.ps1 Adds packageType parameter to Upload-SourceArtifact and Upload-ReviewTokenFile functions, extracting value from packageInfo.SdkType

@helen229 helen229 changed the title update scripts Expose package SdkType in Apiview URI Oct 20, 2025
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@raych1
Copy link
Member

raych1 commented Oct 20, 2025

@helen229 I'm curious that if this API also need to update?

@helen229
Copy link
Member Author

@helen229 I'm curious that if this API also need to update?

Thanks for calling out this! I didn't update the corresponding controller for this API, this API is Endpoint: GET /AutoReview/GetReviewStatus, I think it's not related to our issues but I'll wait for Praveen for confirmation.

helen229 added a commit to Azure/azure-sdk-for-rust that referenced this pull request Oct 20, 2025
helen229 added a commit to Azure/azure-sdk-for-js that referenced this pull request Oct 20, 2025
@weshaggard
Copy link
Member

merging because all the sync PRs have merged and I don't want eng/common to be out of sync

@weshaggard weshaggard merged commit c530aa2 into main Oct 20, 2025
15 checks passed
@weshaggard weshaggard deleted the gaoh/script-new branch October 20, 2025 21:15
@praveenkuttappan
Copy link
Member

@helen229 I'm curious that if this API also need to update?

Thanks for calling out this! I didn't update the corresponding controller for this API, this API is Endpoint: GET /AutoReview/GetReviewStatus, I think it's not related to our issues but I'll wait for Praveen for confirmation.

@raych1 @helen229 I don't think this needs an update. It just checks the status of API review so no need to pass SDK type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[APIView] Need helper method to distinguish between data and management plane

6 participants